<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
  <head>
    <base href="<%=basePath%>">
    
    <title>课程信息修改</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="CSS/ObjChange.css" rel="stylesheet" type="text/css">
  </head>
  
  <body>
    <div id="main_road">首页->管理员专页->课程信息查看->课程信息修改</div>
    <div id="tb_main">
    	<form action="objectupdate">
    		<table class="table table-condensed">
    				<tr>
    					<td class="tb_main_th">课程名称:</td>
    					<td><s:property value="#request.CRUObject.objname"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.objname"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">课程代码:</td>
		            	<td><s:property value="#request.CRUObject.objnum"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.objnum"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">教师姓名:</td>
		            	<td><s:property value="#request.CRUObject.teaname"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.teaname"></td>
					</tr>
		            <tr>
		           	 	<td class="tb_main_th">上课时间:</td>
		           	 	<td><s:property value="#request.CRUObject.objtime"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.objtime"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">上课地点:</td>
		            	<td><s:property value="#request.CRUObject.place"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.place"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">学分:</td>
		            	<td><s:property value="#request.CRUObject.credits"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.credits"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">周学时:</td>
		            	<td><s:property value="#request.CRUObject.ltimes"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.ltimes"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">起始结束周:</td>
		            	<td><s:property value="#request.CRUObject.objtime"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.objtime"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">容量:</td>
		            	<td><s:property value="#request.CRUObject.allowance"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.allowance"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">余量:</td>
		            	<td><s:property value="#request.CRUObject.capacity"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.capacity"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">课程性质:</td>
		            	<td><s:property value="#request.CRUObject.judgeobjecttakecpl"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.judgeobjecttakecpl"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">开课学院:</td>
		            	<td><s:property value="#request.CRUObject.clgname"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.clgname"></td>
					</tr>
		            <tr>
		            	<td class="tb_main_th">考试时间:</td>
		            	<td><s:property value="#request.CRUObject.examtime"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.examtime"></td>
					</tr>
					 <tr>
		            	<td class="tb_main_th">考试地点:</td>
		            	<td><s:property value="#request.CRUObject.examplace"/></td>
						<td><input class="tr_Obj" type="text" name="cruObject.examplace"></td>
					</tr>
                    <tr>
                    	<td></td>
	                    <td>
	                    	<button type="reset" value="重新填写" class="btn">重新填写</button>
	                    	<h1><a href="<s:url action="objectmanger"/>">取消修改</a></h1>
	                    </td>
	                    <td><button type="submit" value="提交" class="">提交</button></td>
                    </tr>
    		</table>
    	</form>
    </div>
  </body>
</html>
